package net.zhengxinyun.performance.service.examNew;

import net.zhengxinyun.performance.dto.examDTO.ExamDTO;
import net.zhengxinyun.performance.entity.exam.QuestionnaireEntity;
import net.zhengxinyun.performance.filter.exam.QuestionnaireFilter;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

/**
 * Date: 2020/3/11 18:30
 * 问卷总表管理
 */
public interface QuestionnaireService {


    HashMap<String, Object> questionnaireManage(String option, QuestionnaireFilter filter);
    QuestionnaireEntity selectByPrimaryKey(Long id);

    List<ExamDTO> createQuestionnaire( Long questionnaireId, MultipartFile file );

    int saveExams(String question,List<ExamDTO> list);

}
